package com.stormrage.entity.learn;

import java.io.Serializable;

public class LeaTermNess implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = 2976563202312503637L;

	// ------------------------------- Fields -------------------------------

	private Integer id;

	private Integer termId;

	private Integer ness;

	// ------------------------------- Fields -------------------------------

	public LeaTermNess() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getTermId() {
		return termId;
	}

	public void setTermId(Integer termId) {
		this.termId = termId;
	}

	public Integer getNess() {
		return ness;
	}

	public void setNess(Integer ness) {
		this.ness = ness;
	}

	// ------------------------------- Fields -------------------------------

	public static LeaTermNess instance(Integer termId, Integer ness) {
		LeaTermNess entity = new LeaTermNess();
		entity.setTermId(termId);
		entity.setNess(ness);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : id - " + id + " termId - " + termId + " ness - " + ness;
	}

}
